-- GENERATED SPELL FOR [Southsea Cannoneer] --


function spell0_3382(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3382', 641, 1)
end

function Sorts_3382(pUnit, Event)
local choix_sorts_3382 = math.random(0, 0)
if choix_sorts_3382 == 0 then
pUnit:RegisterEvent('spell0_3382', 1, 1)
end
end

function mob3382_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3382', math.random(1500, 3000), 1)
end

function mob3382_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3382_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3382_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3382, 1, 'mob3382_Action')
RegisterUnitEvent(3382, 2, 'mob3382_Leave')
RegisterUnitEvent(3382, 3, 'mob3382_Kill')
RegisterUnitEvent(3382, 4, 'mob3382_Die')
